

<div class="row">
  <div class="col-md-12">
    <ol class="breadcrumb">
      <li><a href="#" onclick="common_ajax.ajaxMainPanel('/jf/platform/index/content');">主页</a></li>
      <li class="active">汤姆管理</li>
    </ol>
  </div>
</div>
            
<form id="splitPage" role="form" class="form-horizontal" action="/jf/platform/tom" method="POST">
  
  <div class="row">
    <div class="col-md-12">
      <!-- start: BORDERED TABLE PANEL -->
      <div class="panel panel-white">
        
        <div class="panel-heading">
          <h4 class="panel-title"><span class="text-bold">汤姆查询</span></h4>
          <div class="panel-tools">                   
        
             <% include("/common/panel-tools.html "){} %>
          </div>
        </div>
        
        <div class="panel-body">    
            <div class="form-group">
            <label class="col-sm-2 control-label" for="focusedInput">标题</label>
            <div class="col-sm-4">
                <input class="form-control focused" type="text" name="_query.names" value='${escapeXml(paramMap["_query.names"])}' maxlength="25" >
            </div>
            
            <label class="col-sm-2 control-label" for="focusedInput">xxxx</label>
            <div class="col-sm-4">
                <input class="form-control focused" type="text" name="_query.url" value='${escapeXml(paramMap["_query.url"])}' maxlength="50" >
            </div>
            </div>
            
          <div class="form-group">
            <div class="col-sm-5 col-sm-offset-5">
              <button type="button" class="btn btn-primary" onclick='common_ajax.ajaxFormMainPanel("splitPage");'>查询</button>
              <button type="reset" class="btn">重置</button>
            </div>
            </div>
        </div>
      
      </div>
    </div>
  </div>
  
  <div class="row">
    <div class="col-md-12">
      <!-- start: BORDERED TABLE PANEL -->
      <div class="panel panel-white">
        
        <div class="panel-heading">
          <h4 class="panel-title">
            <span class="text-bold">汤姆列表</span>
          </h4>
          <div class="panel-tools">                   
              <% include("/common/panel-tools.html "){} %>
          </div>
        </div>

        
        <div class="panel-body">
          
          <div class="row">
            <div class="col-md-12 space20">
         
                <button type="button" class="btn btn-success add-row" onclick="common_ajax.ajaxMainPanel('/jf/platform/tom/toUrl?toUrl=/platform/tom/add.html');">
                  添加汤姆<i class="fa fa-plus"></i>
                </button>
          
              
           
                <button type="button" class="btn btn-red delete-row" data-bb="deleteList" data-url="/jf/platform/tom/delete"> 
                 删除<i class="fa fa-trash-o"></i>
                </button>
          
            </div>
          </div>
          
          <table class="table table-bordered table-hover" id="dataTable">
            <thead>
              <tr>
                <th class="center hidden-xs" width="50">
                  <input type="checkbox" name="checkAll" onchange="common_common.checkFunc('dataTable', this.checked);" class="flat-grey selectall"> 
                </th>
    

                 <th class="hidden-xs" onclick="common_splitPage.orderbyFun('mainPanel', 'splitPage', 'ids')">
                  ID
                </th>


                 <th class="hidden-xs" onclick="common_splitPage.orderbyFun('mainPanel', 'splitPage', 'testname')">
                  姓名
                </th>


                 <th class="hidden-xs" onclick="common_splitPage.orderbyFun('mainPanel', 'splitPage', 'testpassword')">
                  密码
                </th>


                 <th class="hidden-xs" onclick="common_splitPage.orderbyFun('mainPanel', 'splitPage', 'version')">
                  版本
                </th>



                <th class="hidden-xs">
                  操作
                </th>
              </tr>
            </thead>
            <tbody>



                <tr>
                  <td class="center hidden-xs">
                    <input type="checkbox" name="checkIds" value="${tom.ids!}" class="flat-grey foocheck">
                  </td>
                  <td  class="center">${tom.ids!}</td>
                  
                  <td  class="center">${tom.testname!}</td>
                  
                  <td  class="center">${tom.testpassword!}</td>
                  
                  <td  class="center">${tom.version!}</td>
                  
                 
                 
                  
                  <td class="hidden-xs">
                 
                      <button type="button" class="btn btn-dark-yellow add-row" onclick="common_ajax.ajaxMainPanel('/jf/platform/tom/view/${escapeXml(tom.ids!)}');">
                        查看 <i class="fa fa-eye"></i>
                      </button>
             
                    
                   
                      <button type="button" class="btn btn-green edit-row" onclick="common_ajax.ajaxMainPanel('/jf/platform/tom/edit/${escapeXml(tom.ids!)}');"> 
                      编辑<i class="fa fa-edit"></i>
                      </button>
                  
                    
                  
                      <button type="button" class="btn btn-red delete-row" data-bb="deleteOne" data-url="/jf/platform/tom/delete/${escapeXml(tom.ids!)}"> 
                       删除 <i class="fa fa-trash-o"></i>
                      </button>
                  
                  </td>
                </tr>
             
            </tbody>
          </table>
          
          <div class="row" id="splitPageDiv">
            
             <% include("/common/splitPage.html", {"divId" : "mainPanel", "formId" : "splitPage", "splitPageDiv" : "splitPageDiv"}){} %>
          </div>
          
        </div>
      
      </div>
      <!-- end: BORDERED TABLE PANEL -->
    </div>
  </div>
  
</form>     

<script type="text/javascript">
  jQuery(document).ready(function() {
    common_form.init();
  });
</script>
